using System.ServiceModel;
using System.Collections.Generic;

namespace Casino.ServiceContracts
{
    [MessageContract]
    public class InviteRequest
    {
        /// <summary>
        /// objekt zaproszenia
        /// </summary>
        private Casino.DataContracts.PokerRoomInvitation invitationField;
        /// <summary>
        /// zwraca lub ustawia objekt zaproszenia
        /// </summary>
        [MessageBodyMember(Order = 0)]
        public Casino.DataContracts.PokerRoomInvitation invitation
        {
            get { return invitationField; }
            set { invitationField = value; }
        }
        /// <summary>
        /// konstruktor domyslny
        /// </summary>
        public InviteRequest() { }
        /// <summary>
        /// konstruktor sparametryzownany
        /// </summary>
        /// <param name="invitation">objekt zaproszenia</param>
        public InviteRequest(Casino.DataContracts.PokerRoomInvitation invitation)
        {
            this.invitationField = invitation;
        }
    }
}


